package com.qzxy.premiumhotelsystem.domain.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonIgnore;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: iQNRen
 * @Description:
 * @Date: 2024/9/25 15:13 周三
 * @Version: 1.0
 */
@Data
public class GuestAndVipDTO {
     @TableId
    @ExcelProperty("顾客编号")
    private Integer guestId;

    @ExcelProperty("顾客邮箱")
    @NotBlank(message = "邮箱不为空")
    private String email;

    @ExcelProperty("顾客密码")
    @NotBlank(message = "密码不为空")
    private String password;

    @ExcelProperty("顾客余额")
    private BigDecimal balance;

    @ExcelProperty("顾客支付密码")
    private String payPwd;

    @ExcelProperty("顾客手机号")
    @NotBlank(message = "手机号不为空")
    private String telephone;

    @ExcelProperty("顾客姓名")
    private String nickname;

    @ExcelProperty("顾客身份证")
    private String idCard;

    @ExcelProperty("顾客年龄")
    private Integer age;

    @ExcelProperty("顾客头像")
    private String imgUrl;

    @ExcelProperty("顾客性别")
    private String sex;

    @ExcelProperty("登录时间")
    private Date loginTime;

    @ExcelProperty("登录IP")
    private String loginIp;

    @ExcelProperty("更新时间")
    private Date updateTime;

    @ExcelProperty("创建时间")
    private Date createTime;
    private Integer vipTypeId;
}

